package name.marz.to.go.ahg.mhbk.gui;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Insets;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

@Deprecated
public class WizardTitlePanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public WizardTitlePanel(String title) {
		super();
		this.setLayout(new BorderLayout());
		this.setBackground(Color.gray);
		JLabel titleLabel = new JLabel();
		titleLabel.setBackground(Color.gray);
		titleLabel.setText(title);
		titleLabel.setBorder(new EmptyBorder(new Insets(10, 10, 10, 10)));
		titleLabel.setOpaque(true);
		this.add(titleLabel, BorderLayout.CENTER);
	}
}
